<script>
	import Vue from 'vue'
	export default {
		onLaunch: function() {
			uni.getSystemInfo({
				success: function(e) {
					// #ifndef MP
					Vue.prototype.StatusBar = e.statusBarHeight;
					if (e.platform == 'android') {
						Vue.prototype.CustomBar = e.statusBarHeight + 50;
					} else {
						Vue.prototype.CustomBar = e.statusBarHeight + 45;
					};
					// #endif
			
					// #ifdef MP-WEIXIN
					Vue.prototype.StatusBar = e.statusBarHeight;
					let custom = wx.getMenuButtonBoundingClientRect();
					Vue.prototype.Custom = custom;
					Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
					// #endif		
			
					// #ifdef MP-ALIPAY
					Vue.prototype.StatusBar = e.statusBarHeight;
					Vue.prototype.CustomBar = e.statusBarHeight + e.titleBarHeight;
					// #endif
				}
			});
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
@import 'static/colorui/main.css';
@import 'static/colorui/icon.css';
	/*每个页面公共css */
	uni-checkbox .uni-checkbox-input,uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color: #333;}
	::-webkit-scrollbar{display: none;}
	page {
		background-color: #f7f7f7;
		height: 100%;
		width: 100%;
		-webkit-overflow-scrolling: touch; //ios滑动不流畅
	}
	
	.navigationTab {
		display: flex;
		padding: 20upx 0;
		margin: 16upx;
		background-color: #fff;
	}
	.navigationTab text {
		flex: 1;
		text-align: center;
	}
	.navigationTab .actives text {
		color: #2CADFF;
	}
	
	.navigation{
		flex: 1;
		width: 33.33%;
		padding: 10upx 0;
	}
	
	.navigation image{
		display: block;
		width: 100upx;
		height: 72upx;
		margin: 0 auto;
		padding: 16upx 0;
	}
	
	.navigation text{
		display: block;
		text-align: center;
		color: #666;
		font-size: 15px;
	}
	
	.content {
		width: 100%;
		overflow-x: hidden;
	}
	
	.uni-datetime-picker-down-arrow{
		display: none!important;
	}
	
	::-webkit-scrollbar {
		width: 0;
		height: 0;
		color: transparent;
		display: none;
	}
	
</style>
